Bug 532497 – Configure problem when cross-compiling
authorMatthias Clasen <mclasen@redhat.com>
Sun, 25 May 2008 20:18:16 +0000 (20:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 25 May 2008 20:18:16 +0000 (20:18 +0000)
2008-05-25  Matthias Clasen  <mclasen@redhat.com>

        Bug 532497 – Configure problem when cross-compiling

        * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
        pointed out by Marko Lindqvist.

svn path=/trunk/; revision=20156

ChangeLog
configure.in

index 3eae2e569800258add8f18a90174c36904840b59..121b0f0503f29655cb1bd7740411e4406764b60c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 532497 – Configure problem when cross-compiling
+
+       * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
+       pointed out by Marko Lindqvist.
+
 2008-05-25  Richard Hult  <richard@imendio.com>
 
        * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
index 2be7b3803cbae87acfc171436dcb4cd15b1f04aa..02064d62ee5d9e6cc17b1ae48dd501cf9dda682d 100644 (file)
@@ -147,7 +147,7 @@ dnl
 dnl Check for a working C++ compiler, but do not bail out, if none is found.
 dnl We use this for an automated test for C++ header correctness.
 dnl 
-AC_CHECK_PROGS(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], gcc)
+AC_CHECK_TOOLS(CXX, [$CCC c++ g++ gcc CC cxx cc++ cl], gcc)
 AC_LANG_SAVE
 AC_LANG_CPLUSPLUS